package com.bdqn.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

/**
 * 角色权限关系
 *
 * @TableName sys_role_right
 */
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@TableName("sys_role_right")
public class RoleRight implements Serializable {

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long rfId;

    private Long rfRoleId;

    private String rfRightCode;

}